package com.powernode.bank.pojo;

public class Account {
    private String accno;
    private Double balance;

    public Account() {
    }

    public Account(String accno, Double balance) {
        this.accno = accno;
        this.balance = balance;
    }

    public String getAccno() {
        return accno;
    }

    public void setAccno(String accno) {
        this.accno = accno;
    }

    public Double getBalance() {
        return balance;
    }

    public void setBalance(Double balance) {
        this.balance = balance;
    }

    @Override
    public String toString() {
        return "Account{" +
                "accno='" + accno + '\'' +
                ", balance=" + balance +
                '}';
    }
}
